package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.BaseReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanActivityCodeDO;

import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 兑换码活动码表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2022-10-22
 */
public interface ILanActivityCodeService extends IService<LanActivityCodeDO> {

    /**
     * 兑换码活动码表 导入
     * @author ErKang
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2022/10/22 19:27
     */
    BaseResponse<Object> importActivityCode(@RequestHeader(BaseReq.ut) String token, @RequestParam("file") MultipartFile file, String jsonCode,Long activityId);
}
